package cn.oms.dict.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("department")
@ApiModel(value="Department对象", description="")
public class Department implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID(新增生成)")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "医院CODE")
    @TableField("HOSPITAL_CODE")
    private String hospitalCode;

    @ApiModelProperty(value = "区域CODE")
    @TableField("AREA_CODE")
    private String areaCode;

    @ApiModelProperty(value = "专科CODE")
    @TableField("SPECIALTY_CODE")
    private String specialtyCode;

    @ApiModelProperty(value = "科室CODE（新增生成）")
    @TableField("DEPARTMENT_CODE")
    private String departmentCode;

    @ApiModelProperty(value = "科室名称(呼吸内一科)（英文）")
    @TableField("DEPARTMENT_NAME_EN")
    private String departmentNameEn;

    @ApiModelProperty(value = "科室名称(呼吸内一科)（中文）")
    @TableField("DEPARTMENT_NAME_CN")
    private String departmentNameCn;

    @ApiModelProperty(value = "科室简称（HXNKY）(HXNKE)")
    @TableField("DEPARTMENT_NAME_SN")
    private String departmentNameSn;

    @ApiModelProperty(value = "科室楼层ID")
    @TableField("FLOOR_ID")
    private Integer floorId;

    @ApiModelProperty(value = "科室楼层名称")
    @TableField("FLOOR")
    private String floor;

    @ApiModelProperty(value = "科室位置")
    @TableField("DEPARTMENT_ADDRESS")
    private String departmentAddress;

    @ApiModelProperty(value = "科室医生人数（数量，新增医生对应这个科室就会加1相反减1）")
    @TableField("DEPARTMENT_DOCTOR_NUM")
    private Integer departmentDoctorNum;

    @ApiModelProperty(value = "药房标记(0非 1是)")
    @TableField("PHARMACY_FLAG")
    private Integer pharmacyFlag;

    @ApiModelProperty(value = "有效标志（1有效）")
    @TableField("VALID_SIGN")
    private Integer validSign;

    @ApiModelProperty(value = "急诊标志（0非急诊）")
    @TableField("EMERGENCY_MEDICAL_SIGN")
    private Integer emergencyMedicalSign;

    @ApiModelProperty(value = "电话")
    @TableField("TELEPHONE_NUMBER")
    private String telephoneNumber;

    @ApiModelProperty(value = "24小时标识")
    @TableField("HOUR24_AREA_FLAG")
    private String hour24AreaFlag;

    @ApiModelProperty(value = "排班标志（0白班 1夜班 2全天 ）")
    @TableField("SCHEDULING_SIGNS")
    private Integer schedulingSigns;

    @ApiModelProperty(value = "科室状态（0在班 1休息）")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
